﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;


namespace SpriteLib
{
    public interface ISpriteEffect
    {
        event EventHandler OnStart;
        event EventHandler OnEnd;

        int Occurrence
        {
            set;
            get;
        }

        bool IsLoop
        {
            set;
            get;
        }

        ISprite Sprite
        {
            set;
            get;
        }

        TimeSpan StartTime
        {
            set;
            get;
        }


        TimeSpan Duration
        {
            set;
            get;
        }
        void Update(GameTime gameTime);
    }
}
